#include <iostream>
using namespace std;
inline void intro()
{
    cout << endl
         << "学号：3170608043，姓名：石英钰" << endl
         << endl
         << "p101例3-5 字符串排序与查找" << endl
         << endl;
}

int main()
{
    intro();
    char userInput[100] = "";
    cin >> userInput;
    char res[] = "";
    for (int i = 0; i < sizeof(userInput) / sizeof(char) - 1; i++)
    {
        switch (userInput[i])
        {
        case 'c':
        case '\0':
            continue;
        }
        sprintf(res, "%s%c", res, userInput[i]);
    }
    cout << res << endl;
}